import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import fastClick from 'fastclick'
import './assets/stylus/index.styl'
import VueLazyLoad from 'vue-lazyload'
import axios from 'axios'
Vue.config.productionTip = false

Vue.use(VueLazyLoad, {
  loading: require('./assets/image/default.png')
})
// axios.interceptors.request.use(
//   config => {
//     config.headers.referer = 'https://y.qq.com/'
//     config.headers.origin = 'https://y.qq.com/'
//     return config
//   },
//   err => {
//     return Promise.reject(err)
//   })
fastClick.attach(document.body)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')